//
//  NetworkOperation.h
//  IconMaster
//
//  Created by nhn on 14-9-16.
//  Copyright (c) 2014年 为为. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkAPI.h"


typedef void(^NetworkFinishBlock)(bool succeed);

@interface NetworkOperation : NSObject

+ (void)getNewGroups:(NetworkFinishBlock)block;
+ (void)getNewConfig:(NetworkFinishBlock)block;
+ (void)updateDeviceToken:(NSString*)token finishBlock:(NetworkFinishBlock)block;
+ (void)getNewSql:(NetworkFinishBlock)block;
+ (void)sendFeedBack:(NSDictionary*)dict finishBlock:(NetworkFinishBlock)block;

@end
